Piwik\Tracker\GoalManager D

Total Complexity 135
Dependencies 19
Dependents 34
Total lines 954
Lines of code 562
Logical lines of code 351
Comment lines 197
Methods 29
Properties 2

Methods 29

Method Rating Maintainability Complexity Lines of code
getCleanedEcommerceItems()
B
36 18 81
detectGoalMatch()
B
45 17 38
recordGoals()
A
50 9 28
isGoalPatternMatchingUrl()
A
47 8 35
recordEcommerceItems()
A
44 7 46
recordEcommerceGoal()
A
45 7 43
insertNewConversion()
S
52 7 24
recordStandardGoals()
S
49 6 28
getGoalFromVisitor()
S
53 6 23
detectNumericGoalMatch()
S
50 5 29
detectGoalsMatchingUrl()
S
59 4 14
triggerHookOnDimensions()
S
59 4 14
getItemRowEnriched()
S
54 3 20
detectGoalId()
S
59 3 14
getEcommerceItemsFromRequest()
S
60 3 14
insertEcommerceItems()
S
62 3 12
updateEcommerceItems()
S
62 3 12
formatRegex()
S
66 3 8
getGoalDefinition()
S
65 3 9
isUrlMatchingGoal()
S
64 2 10
detectIsThereExistingCartInVisit()
S
66 2 8
getGoalColumn()
S
71 2 6
getGoalDefinitions()
S
69 2 7
getRevenue()
S
69 2 7
getGoalIds()
S
67 2 8
getItemRowCast()
S
61 1 13
makeRandomMySqlUnsignedInt()
S
72 1 5
getModel()
S
81 1 3
isEventMatchingGoal()
S
77 1 3